import request from '~/utils/request';

export function getShowDataList(data) {
    return request({
        url: '/Show/GetShowDataList',
        method: 'post',
        data,
    });
}

export function saveShowInfo(data) {
    return request({
        url: '/Show/SaveShowInfo',
        method: 'post',
        data,
    });
}

export function getShowInfo(data) {
    return request({
        url: '/Show/GetShowInfo?showid=' + data,
        method: 'get',
        data,
    });
}

export function getShowPanoInfo(data) {
    return request({
        url: '/Show/GetShowPanoInfo?showpanoid=' + data,
        method: 'post',
        data,
    });
}

export function getShowItemList(data) {
    return request({
        url: '/Show/GetShowItemList',
        method: 'post',
        data,
    });
}
export function getShowItemdataList(data) {
    return request({
        url: '/Show/GetShowItemdataList',
        method: 'post',
        data,
    });
}

export function saveShowItemInfo(data) {
    return request({
        url: '/Show/SaveShowItemInfo',
        method: 'post',
        data,
    });
}

export function getShowItemInfo(data) {
    return request({
        url: '/Show/GetShowItemInfo?itemid=' + data,
        method: 'get',
        data,
    });
}

export function getShowPanoList(data) {
    return request({
        url: '/Show/GetShowPanoList',
        method: 'post',
        data,
    });
}

export function getShowItemLastInfo(data) {
    return request({
        url: '/Show/GetShowItemLastInfo?showId=' + data,
        method: 'get',
        data,
    });
}

export function saveShowPanoInfo(data) {
    return request({
        url: '/Show/SaveShowPanoInfo',
        method: 'post',
        data,
    });
}

export function getShowPanoLastInfo(data) {
    return request({
        url: '/Show/GetShowPanoLastInfo?itemid=' + data,
        method: 'get',
        data,
    });
}
export function getShowPanoLastdataInfo(data) {
    return request({
        url: '/Show/GetShowPanoLastdataInfo?showid=' + data,
        method: 'get',
        data,
    });
}

export function getShowFileList(data) {
    return request({
        url: '/Show/GetShowFileList',
        method: 'post',
        data,
    });
}

export function saveShowFileInfo(data) {
    return request({
        url: '/Show/SaveShowFileInfo',
        method: 'post',
        data,
    });
}

export function setShowItemState(data) {
    return request({
        url: '/Show/SetShowItemState',
        method: 'post',
        data,
    });
}

export function setShowPanoState(data) {
    return request({
        url: '/Show/SetShowPanoState',
        method: 'post',
        data,
    });
}

export function setShowPanoDefault(data) {
    return request({
        url: '/Show/SetShowPanoDefault',
        method: 'post',
        data,
    });
}
export function saveShowLinkInfo(data) {
    return request({
        url: '/Show/SaveShowLinkInfo',
        method: 'post',
        data,
    });
}

export function getShowLinklist(data) {
    return request({
        url: '/Show/GetShowLinklist?ShowPanoID=' + data,
        method: 'get',
        data,
    });
}
export function getShowFilePaInfo(data) {
    return request({
        url: '/Show/GetShowFilePaInfo?ShowPanoID=' + data,
        method: 'get',
        data,
    });
}

export function setShowLinkState(data) {
    return request({
        url: '/Show/SetShowLinkState',
        method: 'post',
        data,
    });
}
export function setshowLinkPanoState(data) {
    return request({
        url: '/Show/SetshowLinkPanoState',
        method: 'post',
        data,
    });
}

export function getShowPanofLastInfo(data) {
    return request({
        url: '/Show/GetShowPanofLastInfo?ShowPanoID=' + data,
        method: 'get',
        data,
    });
}
